1 Star 2 Fork 12

平凯星辰(北京)科技有限公司 / tikv

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
deploy.md 767 Bytes
一键复制 编辑 原始数据 按行查看 历史

Deploy a TiKV production cluster

Deploy a cluster with TiUP

We provide multiple deployment methods, but it is recommended to use our TiUP deployment for production environment.

  1. Ensure SSH connectivity between tiup's machine and several target nodes
  2. topo.yaml:
global:
  user: "ubuntu"
  ssh_port: 22
  deploy_dir: "whatever"
  data_dir: "whatever"

pd_servers:
  - host: x.x.x.x
  - host: y.y.y.y
  - host: z.z.z.z

tikv_servers:
  - host: x.x.x.x
  - host: y.y.y.y
  - host: z.z.z.z

monitoring_servers:
  - host: a.a.a.a

grafana_servers:
  - host: b.b.b.b

alertmanager_servers:
  - host: c.c.c.c
  1. $ tiup cluster deploy foobar v4.0.0 ./topo.yaml --user ubuntu -i ~/.ssh/id_rsa
  2. $ tiup cluster start foobar
  3. You're all set!
1
https://gitee.com/pingcap/tikv.git
git@gitee.com:pingcap/tikv.git
pingcap
tikv
tikv
master

搜索帮助